package com.aviator.detective.model.scorecard;

import com.aviator.detective.model.ExecuteElement;
import com.aviator.detective.model.NodeState;
import com.aviator.detective.model.SourceCell;
import com.aviator.detective.model.SourceType;
import com.aviator.detective.model.scorecard.function.CalculateFunction;
import com.aviator.detective.model.scorecard.function.CalculateMode;

public class ScoreCard implements ExecuteElement, SourceCell {
    private String id;
    private String name;
    private String alias;
    private String bindScoreKeyName;
    private CalculateMode calculateMode;
    private Double baseScore;
    private Double scoreValue;

    @Override
    public String getExecuteElementName() {
        return this.name;
    }

    @Override
    public SourceType getType() {
        return SourceType.SCORECARD;
    }

    @Override
    public String toAviatorScript() {
        return null;
    }


    public Double getScoreValue(){
        return scoreValue;
    }
}
